package thread_test;

public class TestMain {
    public static void main(String[] args) {
        Stack stack = new Stack(10);
        Producer producer = new Producer(stack);
        Consumer consumer = new Consumer(stack);
        producer.start();
        consumer.start();
    }
}
